package com.ztman.service.work.dto;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ztman.basic.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 *
 * </p>
 *
 * @author wsd
 * @since 2021-08-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "WorkOrderInfoSaveDTO", description = "")
public class WorkOrderInfoSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标题")
    @Length(max = 128, message = "长度不能超过128")
    private String title;
    @ApiModelProperty(value = "")
    private Long priority;
    @ApiModelProperty(value = "")
    private Long process;
    @ApiModelProperty(value = "")
    private Long classify;
    @ApiModelProperty(value = "")
    private Integer isEnd;
    @ApiModelProperty(value = "")
    private Integer isDenied;
    @ApiModelProperty(value = "")
    private JSONArray state;
    private JSONArray tasks;
    private JSONObject tpls;
    private String source;
    @ApiModelProperty(value = "")
    private String relatedPerson;
    @ApiModelProperty(value = "")
    private Integer urgeCount;
    @ApiModelProperty(value = "")
    private Integer urgeLastTime;

    /**
     * 删除状态
     */
    @ApiModelProperty(value = "删除状态")
    private Boolean delFlag;
    private Boolean is_exe_task;
    private String process_method;
    private String source_state;


}
